.driver {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background-color: #f7f8fa;

  .buttonText {
    display: flex;
    justify-content: center;
    align-items: center;

    .gutter {
      margin-left: 10px;
    }
  }

  .searchBar {
    --padding-sm: 20px;
    --search-background-color: transparent;

    :global(.van-search__content) {
      border: solid 1px #d3d5db;
    }

    .searchIcon {
      padding: 0 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-left: solid 1px #d3d5db;
    }
  }

  .content {
    flex-grow: 1;

    .listItems{
      //padding: 15px 15px 0 15px;

      .itemWrap {
        padding: 15px 15px 0 15px;
      }

      .item {
        padding: 15px 10px 10px 10px;
        background-color: #ffffff;
        box-shadow: 0 1px 5px 0 rgba(96, 114, 132, 0.2);
        border-radius: 10px;
        border: solid 1px #dadce0;
        //margin-bottom: 15px;

        .head {
          font-size: 16px;
          color: #757880;
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 15px;
          padding-bottom: 15px;
          border-bottom: 1px solid #cbced2;

          .icon {
            width: 15px;
            height: 15px;
            margin-right: 5px;
          }
        }

        .body {
          border-bottom: 1px solid #cbced2;
          padding-bottom: 18px;

          .name {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            font-size: 21px;
            color: #090a0a;
            padding-left: 10px;
            margin-bottom: 30px;
          }

          .status {
            padding: 4px 7px;
            border-radius: 11px;
            font-size: 14px;

            &.toAudit {
              background-color: #fffce5;
              color: rgba(245, 179, 24, 0.96);
            }

            &.hasRejected {
              background-color: #ffebeb;
              color: #f5313e;
            }

            &.approved {
              background-color: #ebfff1;
              color: #12b865;
            }

            &.frozen {
              background-color: #ebf4ff;
              color: #2d6afa;
            }
          }

          .dataList {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;

            .dataTitle {
              font-size: 14px;
              color: #54575c;
              margin-bottom: 3px;
            }

            .dataContent {
              font-size: 16px;
              color: #090a0a;
            }

            .driveType {
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              width: 120rpx;
            }
          }
        }

        .footer {
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: center;
          padding-top: 10px;
          width: 100%;

          --button-small-height: 27px;

          .mainButton {
            border-radius: 14px;
          }

          .more {
            flex: 1 1;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            max-width: 67%;

            &.errorMsg {
              font-size: 28rpx;
              color: #f5313e;
              width: 100%;

              .title {
                display: block;
                width: 270rpx;
              }

              .msg {
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                width: 420rpx;
              }
            }

            --button-plain-background-color: #ebf8ff;
            --button-border-width: 0;

            .gutter {
              margin-right: 10px;
            }
          }

          .moreBtn {
            flex: 1 1;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;

            .gutter {
              margin-right: 10px;
            }
          }
        }
      }

      .noData {
        height: 100vh;
        text-align: center;
        color: #757880;
      }

      .swipeAction {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        height: 100%;
        padding-top: 15px;

        .icon {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 28px;
          height: 28px;
          padding: 10px;
          color: #ffffff;
          background-image: linear-gradient(120deg, #f5646e, #f5313e);;
          border-radius: 50%;
        }
      }
    }
  }
}

